package com.linkoog.devtools.json.file_editer.editer.ui.jsonTreeTable;

import com.intellij.ui.Gray;
import com.intellij.ui.JBColor;
import com.intellij.ui.SimpleTextAttributes;

import java.awt.*;

public class JsonTreeTableStyles {


    private static final Color LIGNT_GREEN  = new JBColor(new Color(0, 128, 0), new Color(165, 194, 97));
    private static final Color LIGHT_GRAY = Gray._128;
    private static final Color KEY_COLOR  = new JBColor(new Color(201, 189, 107, 255), new Color(204, 120, 50));
    private static final Color NUMBER_COLOR = JBColor.BLUE;


    public static final SimpleTextAttributes indexAttribute = new SimpleTextAttributes(SimpleTextAttributes.STYLE_BOLD, JBColor.BLACK);
    public static final SimpleTextAttributes keyValueAttribute = new SimpleTextAttributes(SimpleTextAttributes.STYLE_BOLD, KEY_COLOR);
    public static final SimpleTextAttributes numberAttribute = new SimpleTextAttributes(SimpleTextAttributes.STYLE_PLAIN, NUMBER_COLOR);
    public static final SimpleTextAttributes booleanAttribute = new SimpleTextAttributes(SimpleTextAttributes.STYLE_PLAIN, NUMBER_COLOR);
    public static final SimpleTextAttributes stringAttribute = new SimpleTextAttributes(SimpleTextAttributes.STYLE_PLAIN, LIGNT_GREEN);
    public static final SimpleTextAttributes nullAttribute = new SimpleTextAttributes(SimpleTextAttributes.STYLE_ITALIC, LIGHT_GRAY);
    public static final SimpleTextAttributes documentAttribute = new SimpleTextAttributes(SimpleTextAttributes.STYLE_BOLD, LIGHT_GRAY);
}
